function current_push() {
 // JavaBean对象声明
    Ext.define("PushCoupons", {
	extend: "Ext.data.Model",
	fields: ["id", "formid", "toid", "statusname", "cpname", "type", "area", "couponid", "msg", "status", "push_time", "overdue"]
    });
    
    // 实例化数据代理对象
    var mProxy = Ext.create("Ext.data.proxy.Ajax", {
	url: "/QuickLifeServer/WebPushMessageAction",
	timeout: 20000,
	totalParam: "total",
	pageSize: 5,
	limitParam: "need",
	startParam: "begin",
	extraParams: {
	    actionflag : "getmsg",
	    busid: Ext.getDom("id").value
	},
	reader: {
	    type: "json",
	    idProperty: 'id',
	    root: "rtinfos"
	}
    });
    
    // 实例化数据集对象
    var sto = Ext.create("Ext.data.Store", {
	model: "PushCoupons",
	proxy : mProxy,
	pageSize : 10
    });
    
    // 实例化表结构，同时跟数据集进行配对
    var cm = [
              {text: "优惠名", dataIndex: "cpname", width: 15},
              {text: "优惠类型", dataIndex: "type", width: 10, renderer: function(value) {
        	  if (value == 1) {
        	      return "全城热推";
        	  } else if(value == 2) {
        	      return "路过惊喜";
        	  }
              }},
              {text: "推送内容", dataIndex: "msg", width: 30},
              {text: "推送时间", dataIndex: "push_time", width:20},
              {text: "推送截止日期", dataIndex: "overdue", width:15},
              {text: "状态", dataIndex: "statusname", width: 8, renderer: function(value, meta, record) {
        	  if (record.get("status") == 0) {
        	      return "<button id='del' class='button' title='点击停止'>运行中</button>";
        	  } else {
        	      return value;
        	  }
              }}
              ];
    
    // 实例化表的分页工具栏，同时跟数据集进行配对
    var pagingTool = Ext.create("Ext.toolbar.Paging", {
	store: sto,
	emptyMsg: "没有推送过优惠",
	displayInfo: true
    });
    
    // 实例化表对象并且显示
    var gridPanel = Ext.create("Ext.grid.GridPanel", {
	store: sto,
	bbar: pagingTool,
	forceFit: true,
	columns : cm
    });
    
    // 添加按钮监听
    gridPanel.addListener({
	click: function(who, td, cellIndex, record, tr, rowIndex, e, eOpts) {
	    if (td.lastChild.lastChild.id == "del") {
		Ext.Ajax.request({
		    url: "/QuickLifeServer/WebPushMessageActon",
		    method: "POST",
		    params: {
			busid: record.get("busid"),
			id: record.get("id"),
			actionflag: "delmsg"
		    }, 
		    callback: function(obj, success, response) {
			if (success) {
			    var rt = Ext.decode(response.responseText);
			    if (rt.result) {
				dialog.close();
				sto.reload();
			    } else {
				Ext.window.Message.alert("停止失败", rt.rtinfos);
			    }
			} else {
			    Ext.window.Message.alert("停止失败", "停止推送失败");
			}
		    }
		});
	    }
	}
    });
    
    // 实例化窗口并且把表单放到窗口当中
    var dialog = Ext.create("Ext.window.Window", {
	items: gridPanel,
	title: "推送优惠",
	modal: true,
	width: 900,
	height: 300,
	buttons: {
	    text: "关闭",
	    handler: function() {
		dialog.close();
	    }
	}
    });
    
    // 显示窗口
    dialog.show();
    
    // 加载数据
    sto.load();
}